package fashionshop.app;

import java.awt.EventQueue;
import java.awt.Toolkit;

import javax.swing.JFrame;
import javax.swing.UIManager;

import fashionshop.gui.main.FashionShopMainFrame;

public class FashionShopApp {

	private JFrame frame;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try{
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        }catch(Exception ex){
            System.out.println("Error setting native LAF " + ex.getMessage());
        }
        EventQueue queue = Toolkit.getDefaultToolkit().getSystemEventQueue();
        queue.push(new EventQueueProxy());
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				FashionShopApp window = new FashionShopApp();
				window.frame.setVisible(true);
			}
		});
	}

	/**
	 * Create the application.
	 */
	public FashionShopApp() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new FashionShopMainFrame();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}

}
